<?php

Class Registry{

	/*
	* @the variables array
	* @acess private
	*
	*/

	private $variables = array();

	/**
	* @set undefined variables
	*
	* @param string $index
	*
	* @param mixed $value
	*
	* @return void 
	*	
	*/

	public function __set($index, $value){
		
$this->variables[$index] = $value;

	}

	/**
	*
	* @get variables
	*
	* @param mixed $index
	*
	* @return mixed
	*
	*/

	public function __get($index){

		return $this->variables[$index];	
		
	}	

}
